<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <HelloWorld :msg="msg"/>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'

export default {
  name: 'HomeView',
  components: {
    HelloWorld
  },
  data(){
    return{
      msg: '微信扫码，关注公众号，直接登录'
    }
  }
}
</script>

<style scoped>
.home img{
  position: absolute;
  left: 15px;
  top: 15px;
  width: 80px;
  height: auto;
}
</style>
